package com.example.opengldemo.vertex_shader_more.file_version_1;

import android.opengl.GLES30;

class ParticleDataConstant {
    public static Object lock = new Object();
    public static float wallsLength = 30;
    public static int CURR_INDEX = 3;
    public static float distancesFireXZ = 6;
    public static float distancesBrazierXZ = 6;
    public static float[][] positionFireXZ =
            {{distancesFireXZ, distancesFireXZ},
                    {distancesFireXZ, -distancesFireXZ},
                    {-distancesFireXZ, distancesFireXZ},
                    {-distancesFireXZ, -distancesFireXZ}};
    public static float[][] positionBrazierXZ = {
            {distancesBrazierXZ, distancesBrazierXZ},
            {distancesBrazierXZ, -distancesBrazierXZ},
            {-distancesBrazierXZ, distancesBrazierXZ},
            {-distancesBrazierXZ, -distancesBrazierXZ}};


    public static final float[][] START_COLOR =
            {
                    {0.7569f, 0.2471f, 0.1176f, 1.0f},
                    {0.7569f, 0.2471f, 0.1176f, 1.0f},
                    {0.6f, 0.6f, 0.6f, 1.0f},
                    {0.6f, 0.6f, 0.6f, 1.0f},
            };

    public static final float[][] END_COLOR =
            {
                    {0.0f, 0.0f, 0.0f, 0.0f},
                    {0.0f, 0.0f, 0.0f, 0.0f},
                    {0.0f, 0.0f, 0.0f, 0.0f},
                    {0.0f, 0.0f, 0.0f, 0.0f},
            };

    public static final int[] SRC_BLEND =
            {
                    GLES30.GL_SRC_ALPHA,
                    GLES30.GL_ONE,
                    GLES30.GL_SRC_ALPHA,
                    GLES30.GL_ONE,
            };

    public static final int[] DST_BLEND =
            {
                    GLES30.GL_ONE,
                    GLES30.GL_ONE,
                    GLES30.GL_ONE_MINUS_SRC_ALPHA,
                    GLES30.GL_ONE,
            };

    public static final int[] BLEND_FUNC =
            {
                    GLES30.GL_FUNC_ADD,
                    GLES30.GL_FUNC_ADD,
                    GLES30.GL_FUNC_ADD,
                    GLES30.GL_FUNC_REVERSE_SUBTRACT,
            };

    public static final int[] COUNT = {340, 340, 99, 99,};

    public static final float[] RADIS = {0.5f, 0.5f, 0.8f, 0.8f,};

    public static final float[] MAX_LIFE_SPAN = {5.0f, 5.0f, 6.0f, 6.0f,};

    public static final float[] LIFE_SPAN_STEP = {0.07f, 0.07f, 0.07f, 0.07f,};

    public static final float[] X_RANGE = {0.5f, 0.5f, 0.5f, 0.5f,};

    public static final float[] Y_RANGE = {0.3f, 0.3f, 0.15f, 0.15f,};

    public static final int[] GROUP_COUNT = {4, 4, 1, 1,};

    public static final float[] VY = {0.05f, 0.05f, 0.04f, 0.04f,};

    public static final int[] THREAD_SLEEP = {60, 60, 30, 30,};
}
